package com.example.service;

import com.example.pojo.Category;

import java.util.List;


public interface CategoryService {

     List<Category> getAllCategory();
     Category getCategoryById(int category_id);
     Category getCategoryByName(Category category);

    int addCategory(Category category);

     int updateCategory(Category category);

     void deleteCategoryById(int category_id);
}
